import {request} from "../request/index.js";
import {config} from "../config/index.js";

const recentSong = async function(limit, callBack, handle) {
    let params = {limit}
    console.log(params)
    await request.get(config.url.recentUrl.recentSong + '?limit=25').then(callBack).then(handle)
}

export const recentApi = {
    recentSong
}